import request from '@/utils/request'



export default {
  getTest(form, value) {
    return request({
      url: '/api/bankcard/bindBankcard',
      method: 'post',
      params: {
        bankType: form.resource,
        cardId: form.card,
        bankcardType: form.kinds,
        phone: value
      }

    })
  },
  getAll() {
    return request({
      url: '/api/bankcard/getAll',
      method: 'get'
    })
  }

}
